package com.xuecheng.api.cms;

import com.xuecheng.framework.domain.cms.CmsPage;
import com.xuecheng.framework.domain.cms.request.QueryPageRequest;
import com.xuecheng.framework.domain.cms.response.CmsPageResult;
import com.xuecheng.framework.model.response.QueryResponseResult;
import com.xuecheng.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 余小小
 * CMS页面统一管理接口
 */
@Api(value = "cms模板页面管理", description = "cms页面管理接口，提供CMS模板的增、删、改、查")
public interface CmsPageTemplateApi {

    /**
     * 页面预览
     *
     * @param pageId 页面id
     */
    @ApiOperation("页面预览")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "pageId", value = "cms页面的id", required = true, dataType = "string"),
    })
    public void preview(String pageId);


}
